!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("rb_wixui.thunderbolt[Container_CircleArea]",["react"],t):"object"==typeof exports?exports["rb_wixui.thunderbolt[Container_CircleArea]"]=t(require("react")):e["rb_wixui.thunderbolt[Container_CircleArea]"]=t(e.React)}("undefined"!=typeof self?self:this,(function(e){return function(){var t={5329:function(t){"use strict";t.exports=e},448:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const r=[];return e&&r.push(`${c}${e}`),t.forEach((e=>{e&&(r.push(`${c}${e}`),r.push(e))})),r.join(" ")};var u={root:"box"};const d=e=>Object.entries(e).reduce(((e,[t,r])=>(t.includes("data-")&&(e[t]=r),e)),{});const f=13,p=27;function m(e){return t=>{t.keyCode===e&&(t.preventDefault(),t.stopPropagation(),t.currentTarget.click())}}m(32),m(f),m(p);const b="mesh-container-content",v="inline-content",h=e=>a().createElement("div",{key:e.props.id+"-rotated-wrapper","data-mesh-id":e.props.id+"-rotated-wrapper"},e),y=(e,r)=>{const{id:n,className:o,wedges:s=[],rotatedComponents:c=[],children:l,fixedComponents:u=[],extraClassName:f="",renderRotatedComponents:p=h}=e,m=a().Children.toArray(l()),y=[],C=[];m.forEach((e=>u.includes(e.props.id)?y.push(e):C.push(e)));const x=(e=>{const{wedges:t,rotatedComponents:r,childrenArray:n,renderRotatedComponents:o}=e,s=r.reduce(((e,t)=>({...e,[t]:!0})),{});return[...n.map((e=>{return s[(t=e,t.props.id.split("__")[0])]?o(e):e;var t})),...t.map((e=>a().createElement("div",{key:e,"data-mesh-id":e})))]})({childrenArray:C,rotatedComponents:c,wedges:s,renderRotatedComponents:p});return a().createElement("div",t()({},d(e),{"data-mesh-id":n+"inlineContent","data-testid":v,className:i(o,f),ref:r}),a().createElement("div",{"data-mesh-id":n+"inlineContent-gridContainer","data-testid":b},x),y)};var C=a().forwardRef(y),x="J6KGih";const g="container-bg",w=(e,n)=>{const{id:o,className:a,meshProps:s,renderSlot:c,children:l,onClick:u,onKeyPress:f,onDblClick:p,onFocus:m,onBlur:b,onMouseEnter:v,onMouseLeave:h,translations:y,hasPlatformClickHandler:g,a11y:w={},ariaAttributes:_={},tabIndex:j,role:E,style:k}=e,O=r.useRef(null),{"aria-label-interactions":A,...N}=w;A&&(N["aria-label"]=(null==y?void 0:y.ariaLabel)||"Interactive element, focus to trigger content change");const M={id:o,children:l,...s},P=i(a,{[x]:g});return r.useImperativeHandle(n,(()=>({focus:()=>{var e;null==(e=O.current)||e.focus()},blur:()=>{var e;null==(e=O.current)||e.blur()}}))),r.createElement("div",t()({id:o},d(e),{ref:O,className:P,onClick:u,onKeyDown:e=>{f&&(" "===e.key&&e.preventDefault(),f(e))},onFocus:m,onBlur:b,onDoubleClick:p,onMouseEnter:v,onMouseLeave:h,style:k},N,(({role:e,tabIndex:t,tabindex:r,...n}={})=>{const o=Object.entries(n).reduce(((e,[t,r])=>({...e,[`aria-${t}`.toLowerCase()]:r})),{role:e,tabIndex:t??r});return Object.keys(o).forEach((e=>{void 0!==o[e]&&null!==o[e]||delete o[e]})),o})({..._,tabIndex:j,role:E})),c({containerChildren:r.createElement(C,M)}))},_=r.forwardRef(w),j=(e,n)=>{let{classes:o,className:a,customClassNames:s=[],...c}=e;return r.createElement(_,t()({},c,{ref:n,className:i(o.root,a),renderSlot:e=>{let{containerChildren:t}=e;return r.createElement(r.Fragment,null,r.createElement("div",{className:i(o.bg,l(u.root,...s)),"data-testid":g}),t)}}))},E=r.forwardRef(j);var k={root:"vsejaj",bg:"T6TiIN"};const O=(e,n)=>r.createElement(E,t()({ref:n},e,{classes:k}));const A={Container_CircleArea:{component:r.forwardRef(O)}}}(),o}()})); //# sourceMappingURL=https://static.parastorage.com/services/editor-elements-library/dist/thunderbolt/rb_wixui.thunderbolt[Container_CircleArea].d5f33502.bundle.min.js.map